package condition;

import roborally.EnergyAmount;

/**
 * A class of binary basic conditions.
 *   A binary basic condition involves one extra value in order to
 *   be able to evaluate the condition.
 * 
 * @version	3.0
 * @author 	Lies Tambeur 	r0264469	2Bcwsbbh
 * @author	Eline Vanrykel	r0264543	2Bcwselt
 *
 */
public abstract class BinaryBasicCondition extends BasicCondition {
	protected EnergyAmount value;
	
	/**
	 * Initialize this new binary basic condition with a given value.
	 * @param 	value
	 * 			The amount of energy we want to test.
	 */
	protected BinaryBasicCondition(EnergyAmount value){
		this.value = value;
	}
	
	/**
	 * Returns the value given while initializing.
	 * @return	The value given while initializing.
	 */
	protected EnergyAmount getValueToCheck(){
		return this.value;
	}
}
